﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Windows.Forms;
using System.IO;
using Snefru.Managers;

namespace Snefru.XmlObjects
{
    [Serializable()]
    [XmlRoot("HTTPHeaders")]
    public class HTTPHeaders : XmlOperationManager<HTTPHeaders>
    {        
        public static string XmlPath = Application.StartupPath.Replace("\\bin\\Debug", "") +  @"\XML\HTTPHeaders.xml";

        [XmlElement]
        public HTTPHeadersParameter HTTPHeadersParameter { get; set; }
    }

    [Serializable()]
    public class HTTPHeadersParameter
    {
        [XmlElement]
        public string UserAgent { get; set; }

        [XmlElement]
        public string Cookie { get; set; }
    }
}
